import request from "@/utils/request"; 

//用户登录
export const userLoginApi = (userLoginInfo)=>request.post("/login",userLoginInfo);

//用户条件分页查询
export const userPageApi = (queryParams)=>request.post("/users/page",queryParams);

//新增用户
export const addUserApi = (user)=>request.post("/users",user)

//修改用户
export const updateUserApi = (user)=>request.put("/users",user)

//删除用户
export const deleteUserApi = (id)=>request.delete(`/users/${id}`)


